﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="AdvertisementUpload.aspx.vb" Inherits="DotNetCore.BannerManagement.AdvertisementUpload" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>DotNetCore Banner Management</title>
</head>
<body>
    <form id="frmMain" runat="server">
    <div>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
    <table>
        <tr>
            <td>Advertiser</td>
            <td><asp:DropDownList ID="ddlAdvertisers" runat="server" DataTextField="Name" DataValueField="ID" AppendDataBoundItems="true">
            <asp:ListItem Text="Please select an Advertiser" Value=""></asp:ListItem>
                
        </asp:DropDownList><asp:RequiredFieldValidator controlToValidate="ddlAdvertisers" runat="server" ErrorMessage="RequiredFieldValidator">
                </asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>Advertisement Name</td>
            <td>
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td>Banner Image</td>
            <td>
                <asp:FileUpload ID="fuBanner" runat="server" /></td>
        </tr>
         <tr>
            <td>Image Alternate Text</td>
            <td>
                <asp:TextBox ID="txtAltText" runat="server"></asp:TextBox></td>
        </tr>
         <tr>
            <td>URL</td>
            <td>
                <asp:TextBox ID="txtURL" runat="server"></asp:TextBox></td>
        </tr>
         <tr>
            <td>Start Date</td>
            <td>
                <asp:TextBox ID="txtStartDate" runat="server"></asp:TextBox></td>
        </tr>
              <tr>
            <td>End Date</td>
            <td>
                <asp:TextBox ID="txtEndDate" runat="server"></asp:TextBox></td>
        </tr>
    </table>
        <asp:Button ID="btnUpload" runat="server" Text="Upload" />
        
    </div>
    </form>
</body>
</html>
